<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>开始测试</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
		<script type="text/javascript" src="__JS__/jshelper.js"></script> 
		<script type="text/javascript" src="__JS__/jQuery/jquery.js"></script>
       	<script type="text/javascript" src="__JS__/jQuery/jquery.form.js"></script>
	</head>
	<body>	
		<!-- layout::Auth:header::0 -->
        	<div class="container-fluid">
     			<div class="row-fluid">
                	<!-- layout::Auth:leftmenu::0 -->
                    	<div class="span8">
                          <div class="hero-unit">
                            <h1>开始测试（多选题）</h1>
                            	<p style="font-size:12px">当前位置：
                                    <a href='__APP__/index/index' class="nowpositionhref">主页</a>>
                                    <a href='__URL__/index' class="nowpositionhref">后台管理</a>>
                                    <a href="__URL__/mytest" class="nowpositionhref" >我的测试</a>>
                                    <a href="">开始测试（多选题）</a>
                                 </p>
                           </div>
                           		
					<load href"__PUBLIC__/js/list_show.js">
					<form id="form2" name="form2" method="post" action="__URL__/nchsave">
                    <table  width="100%"class="table table-bordered table-striped">
                    	<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><input type='hidden' name='testid' value='<?php echo ($vo["testid"]); ?>'>
	                    <input type='hidden' name='no' value='<?php echo ($no); ?>'>
	                    <input type='hidden' name='nchoiceid' value='<?php echo ($vo["nchoiceid"]); ?>'>
	                    <input type='hidden' name='number' value='<?php echo ($number); ?>'>
	                    <input type='hidden' name='number1' value='<?php echo ($number1); ?>'>
	                    <input type='hidden' name='score1' value='<?php echo ($vo["score"]); ?>'> 
                    	<tr>
                        	<td colspan="2">多选题</td>
                        </tr>
                        <tr>
                        	<td>题号</td>
                            <td><?php echo ($number1); ?></td>
                        </tr>
                        <tr>
                        	<td>分值</td>
                            <td><?php echo ($vo["score"]); ?></td>
                        </tr>
                        <tr>
                        	<td colspan="2">
                            	<?php echo ($vo["name"]); ?>
                            </td>
                        </tr>
                        <tr>
                        	<td><input type="checkbox" name='answer[]' value='A'>A:<?php echo ($vo["A"]); ?></td>
                            <td><input type="checkbox" name='answer[]' value='B'>B:<?php echo ($vo["B"]); ?></td>
                        </tr>
                        <tr>
                        	<td><input type="checkbox" name='answer[]' value='C'>C:<?php echo ($vo["C"]); ?></td>
                            <td><input type="checkbox" name='answer[]' value='D'>D:<?php echo ($vo["D"]); ?></td>
                        </tr>
                        <tr>
                        	<td colspan="2">
                            	
                                    <a href="javascript:history.back()" class="btn btn-info">上一题</a>
                                    <input name="submit" type="submit" value="下一题" style="width:80px;" class="btn btn-info">
                               
                            </td>
                        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                    </table>
					<!--<tbody id="tab">
						<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><tr id="table_nchoice_show">
								<td style="width:150px;">第<?php echo ($number1); ?>题: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;分值:<?php echo ($vo["score"]); ?>分</td>
								
								<br><td style="width:150px;"><?php echo ($vo["name"]); ?><br>
								<input type="checkbox" name='answer[]' value='A'>A:<?php echo ($vo["A"]); ?><br>
								<input type="checkbox" name='answer[]' value='B'>B:<?php echo ($vo["B"]); ?><br>
								<input type="checkbox" name='answer[]' value='C'>C:<?php echo ($vo["C"]); ?><br>
								<input type="checkbox" name='answer[]' value='D'>D:<?php echo ($vo["D"]); ?><br></td></tr><?php endforeach; endif; else: echo "" ;endif; ?>
					</tbody>
					<?php if($number2 < 1): ?><input name="submit" type="submit" value="下一题" style="width:80px;" >
					<?php else: ?>
						<a href="javascript:history.back()">上一题</a>
						<input name="submit" type="submit" value="下一题" style="width:80px;" ><?php endif; ?>	-->
                </form>
			
				<!--  div align="right" class="green-black" style="width:900px; position:relative; top:20px; left:-35px;">
					<?php echo ($page); ?>
				</div>-->
             </div>
		</div>
		</div>
	</body>
</html>